/******************************************************************************
    Based on the generated files from the BCD tool
    modified by: Frank Benoit <keinfarbton@googlemail.com>
******************************************************************************/
module org.eclipse.swt.internal.c.X;

import java.lang.all;

version(Tango){
    import tango.stdc.stdint;
    public import tango.stdc.config;
} else { // Phobos
    import std.stdint;
    public import core.stdc.config;
}

extern(C):

alias int c_int;
alias uint c_uint;

const c_int X_PROTOCOL = 11;
const c_int X_PROTOCOL_REVISION = 0;
const c_int None = 0;
const c_int ParentRelative = 1;
const c_int CopyFromParent = 0;
const c_int PointerWindow = 0;
const c_int InputFocus = 1;
const c_int PointerRoot = 1;
const c_int AnyPropertyType = 0;
const c_int AnyKey = 0;
const c_int AnyButton = 0;
const c_int AllTemporary = 0;
const c_int CurrentTime = 0;
const c_int NoSymbol = 0;
const c_int NoEventMask = 0;
const c_int KeyPress = 2;
const c_int KeyRelease = 3;
const c_int ButtonPress = 4;
const c_int ButtonRelease = 5;
const c_int MotionNotify = 6;
const c_int EnterNotify = 7;
const c_int LeaveNotify = 8;
const c_int FocusIn = 9;
const c_int FocusOut = 10;
const c_int KeymapNotify = 11;
const c_int Expose = 12;
const c_int GraphicsExpose = 13;
const c_int NoExpose = 14;
const c_int VisibilityNotify = 15;
const c_int CreateNotify = 16;
const c_int DestroyNotify = 17;
const c_int UnmapNotify = 18;
const c_int MapNotify = 19;
const c_int MapRequest = 20;
const c_int ReparentNotify = 21;
const c_int ConfigureNotify = 22;
const c_int ConfigureRequest = 23;
const c_int GravityNotify = 24;
const c_int ResizeRequest = 25;
const c_int CirculateNotify = 26;
const c_int CirculateRequest = 27;
const c_int PropertyNotify = 28;
const c_int SelectionClear = 29;
const c_int SelectionRequest = 30;
const c_int SelectionNotify = 31;
const c_int ColormapNotify = 32;
const c_int ClientMessage = 33;
const c_int MappingNotify = 34;
const c_int LASTEvent = 35;
const c_int ShiftMapIndex = 0;
const c_int LockMapIndex = 1;
const c_int ControlMapIndex = 2;
const c_int Mod1MapIndex = 3;
const c_int Mod2MapIndex = 4;
const c_int Mod3MapIndex = 5;
const c_int Mod4MapIndex = 6;
const c_int Mod5MapIndex = 7;
const c_int Button1 = 1;
const c_int Button2 = 2;
const c_int Button3 = 3;
const c_int Button4 = 4;
const c_int Button5 = 5;
const c_int NotifyNormal = 0;
const c_int NotifyGrab = 1;
const c_int NotifyUngrab = 2;
const c_int NotifyWhileGrabbed = 3;
const c_int NotifyHint = 1;
const c_int NotifyAncestor = 0;
const c_int NotifyVirtual = 1;
const c_int NotifyInferior = 2;
const c_int NotifyNonlinear = 3;
const c_int NotifyNonlinearVirtual = 4;
const c_int NotifyPointer = 5;
const c_int NotifyPointerRoot = 6;
const c_int NotifyDetailNone = 7;
const c_int VisibilityUnobscured = 0;
const c_int VisibilityPartiallyObscured = 1;
const c_int VisibilityFullyObscured = 2;
const c_int PlaceOnTop = 0;
const c_int PlaceOnBottom = 1;
const c_int FamilyInternet = 0;
const c_int FamilyDECnet = 1;
const c_int FamilyChaos = 2;
const c_int FamilyInternet6 = 6;
const c_int FamilyServerInterpreted = 5;
const c_int PropertyNewValue = 0;
const c_int PropertyDelete = 1;
const c_int ColormapUninstalled = 0;
const c_int ColormapInstalled = 1;
const c_int GrabModeSync = 0;
const c_int GrabModeAsync = 1;
const c_int GrabSuccess = 0;
const c_int AlreadyGrabbed = 1;
const c_int GrabInvalidTime = 2;
const c_int GrabNotViewable = 3;
const c_int GrabFrozen = 4;
const c_int AsyncPointer = 0;
const c_int SyncPointer = 1;
const c_int ReplayPointer = 2;
const c_int AsyncKeyboard = 3;
const c_int SyncKeyboard = 4;
const c_int ReplayKeyboard = 5;
const c_int AsyncBoth = 6;
const c_int SyncBoth = 7;
const c_int RevertToParent = 2;
const c_int Success = 0;
const c_int BadRequest = 1;
const c_int BadValue = 2;
const c_int BadWindow = 3;
const c_int BadPixmap = 4;
const c_int BadAtom = 5;
const c_int BadCursor = 6;
const c_int BadFont = 7;
const c_int BadMatch = 8;
const c_int BadDrawable = 9;
const c_int BadAccess = 10;
const c_int BadAlloc = 11;
const c_int BadColor = 12;
const c_int BadGC = 13;
const c_int BadIDChoice = 14;
const c_int BadName = 15;
const c_int BadLength = 16;
const c_int BadImplementation = 17;
const c_int FirstExtensionError = 128;
const c_int LastExtensionError = 255;
const c_int InputOutput = 1;
const c_int InputOnly = 2;
const c_int ForgetGravity = 0;
const c_int NorthWestGravity = 1;
const c_int NorthGravity = 2;
const c_int NorthEastGravity = 3;
const c_int WestGravity = 4;
const c_int CenterGravity = 5;
const c_int EastGravity = 6;
const c_int SouthWestGravity = 7;
const c_int SouthGravity = 8;
const c_int SouthEastGravity = 9;
const c_int StaticGravity = 10;
const c_int UnmapGravity = 0;
const c_int NotUseful = 0;
const c_int WhenMapped = 1;
const c_int Always = 2;
const c_int IsUnmapped = 0;
const c_int IsUnviewable = 1;
const c_int IsViewable = 2;
const c_int SetModeInsert = 0;
const c_int SetModeDelete = 1;
const c_int DestroyAll = 0;
const c_int RetainPermanent = 1;
const c_int RetainTemporary = 2;
const c_int Above = 0;
const c_int Below = 1;
const c_int TopIf = 2;
const c_int BottomIf = 3;
const c_int Opposite = 4;
const c_int RaiseLowest = 0;
const c_int LowerHighest = 1;
const c_int PropModeReplace = 0;
const c_int PropModePrepend = 1;
const c_int PropModeAppend = 2;
const c_int GXclear = 0x0;
const c_int GXand = 0x1;
const c_int GXandReverse = 0x2;
const c_int GXcopy = 0x3;
const c_int GXandInverted = 0x4;
const c_int GXnoop = 0x5;
const c_int GXxor = 0x6;
const c_int GXor = 0x7;
const c_int GXnor = 0x8;
const c_int GXequiv = 0x9;
const c_int GXinvert = 0xa;
const c_int GXorReverse = 0xb;
const c_int GXcopyInverted = 0xc;
const c_int GXorInverted = 0xd;
const double GXnand = 0xe;
const c_int GXset = 0xf;
const c_int LineSolid = 0;
const c_int LineOnOffDash = 1;
const c_int LineDoubleDash = 2;
const c_int CapNotLast = 0;
const c_int CapButt = 1;
const c_int CapRound = 2;
const c_int CapProjecting = 3;
const c_int JoinMiter = 0;
const c_int JoinRound = 1;
const c_int JoinBevel = 2;
const c_int FillSolid = 0;
const c_int FillTiled = 1;
const c_int FillStippled = 2;
const c_int FillOpaqueStippled = 3;
const c_int EvenOddRule = 0;
const c_int WindingRule = 1;
const c_int ClipByChildren = 0;
const c_int IncludeInferiors = 1;
const c_int Unsorted = 0;
const c_int YSorted = 1;
const c_int YXSorted = 2;
const c_int YXBanded = 3;
const c_int CoordModeOrigin = 0;
const c_int CoordModePrevious = 1;
const c_int Complex = 0;
const c_int Nonconvex = 1;
const c_int Convex = 2;
const c_int ArcChord = 0;
const c_int ArcPieSlice = 1;
const c_int GCLastBit = 22;
const c_int FontLeftToRight = 0;
const c_int FontRightToLeft = 1;
const c_int FontChange = 255;
const c_int XYBitmap = 0;
const c_int XYPixmap = 1;
const c_int ZPixmap = 2;
const c_int AllocNone = 0;
const c_int AllocAll = 1;
const c_int CursorShape = 0;
const c_int TileShape = 1;
const c_int StippleShape = 2;
const c_int AutoRepeatModeOff = 0;
const c_int AutoRepeatModeOn = 1;
const c_int AutoRepeatModeDefault = 2;
const c_int LedModeOff = 0;
const c_int LedModeOn = 1;
const c_int MappingSuccess = 0;
const c_int MappingBusy = 1;
const c_int MappingFailed = 2;
const c_int MappingModifier = 0;
const c_int MappingKeyboard = 1;
const c_int MappingPointer = 2;
const c_int DontPreferBlanking = 0;
const c_int PreferBlanking = 1;
const c_int DefaultBlanking = 2;
const c_int DisableScreenSaver = 0;
const c_int DisableScreenInterval = 0;
const c_int DontAllowExposures = 0;
const c_int AllowExposures = 1;
const c_int DefaultExposures = 2;
const c_int ScreenSaverReset = 0;
const c_int ScreenSaverActive = 1;
const c_int HostInsert = 0;
const c_int HostDelete = 1;
const c_int EnableAccess = 1;
const c_int DisableAccess = 0;
const c_int StaticGray = 0;
const c_int GrayScale = 1;
const c_int StaticColor = 2;
const c_int PseudoColor = 3;
const c_int TrueColor = 4;
const c_int DirectColor = 5;
const c_int LSBFirst = 0;
const c_int MSBFirst = 1;
alias char KeyCode;
alias c_ulong XID;
alias XID KeySym;
alias XID GContext;
alias XID Colormap;
alias XID Cursor;
alias XID Pixmap;
alias XID Font;
alias XID Drawable;
alias XID Window;
alias c_ulong Time;
alias c_ulong VisualID;
alias c_ulong Atom;
alias c_ulong Mask;
alias c_ulong Glyph;
alias c_ulong GlyphSet;
alias c_ulong Picture;
alias c_ulong PictFormat;
alias void _XRegion;
alias _XRegion* Region;
alias c_int Bool;
alias c_int Status;
alias c_ulong XEventClass;

